<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<%@include file="../../default.jsp"%>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/service/back/cmi_power/cmi_role_edit.js"></script>
<script type="text/javascript">
	var panel = '<%=webProperties.getPropertiesVal("web", "cmi_power.role_list.title") %>';
	document.title = panel;
	var error = ${error};
</script>
<style type="text/css">
	body{background-color: white;TEXT-ALIGN: center;}
	.require-field {color: red;}
	.list-div td.first-cell {
	    font-weight: bold;
	    padding-left: 10px;
	    width: 200px;
	}
	.list-div td {
	    background: none repeat scroll 0 0 #FFFFFF;
	    line-height: 22px;
	}
	.north {overflow:hidden; height: 30px;padding: 2px;border-bottom: 1px solid gray;}
</style>
</head>
<body class="easyui-layout" style="overflow-y: hidden;" scroll="no">
	<div  id="north" region="north" split="false" border="false" class="north">
		<div style="border: 0px solid white;float: right;">
			<span>
				<a id="_back_role" icon="icon-back" href="javascript:void(0)" >角色列表</a>
			</span>
		</div>
	</div>
	<div id="t2" region="center" split="false" border="false" style="padding: 0px; background: #fff; overflow: hidden; ">
		<div class="list-div" style="margin-top:10px;">
			<center>
				<table>
					<tbody>
						<tr>
							<td align="right">角色名称</td>
						<td>
							<input type="text" size="34" value="" maxlength="100" id="roleName" name="roleName" style="width: 300px;">
							<input type="hidden" size="34" value="" id="uuid" name="uuid">
							<span class="require-field">*</span>
						</td>
					</tr>
					<tr>
						<td align="right">角色描述</td>
						<td>
							<textarea rows="6" cols="31" id="roleDesc" name="roleDesc" style="width: 300px;"></textarea>
							<span class="require-field">*</span>
						</td>
					</tr>
					</tbody>
				</table>
			</center>
			<div id="empty_power" style="display: none;"><h2 class="require-field">没有可以设置的权限</h2></div>
			<table id="list-table" cellspacing="0">
				<tbody>
				</tbody>
			</table>
		</div>
		<div style="position:fixed;bottom: 5px;width:100%;border-top: 1px solid gray;padding:5px;"> 
			<span style="margin-left: 85%;">
				<a id="_save_role" icon="icon-save" href="javascript:void(0)" >保存提交</a>
			</span>
		</div>
	</div>
</body>
</html>